transcript on
if {[file exists rtl_work]} {
	vdel -lib rtl_work -all
}
vlib rtl_work
vmap work rtl_work

vlog -vlog01compat -work work +incdir+F:/new_Code/NiosIITemplate/src {F:/new_Code/NiosIITemplate/src/Key4x4.v}
vlog -vlog01compat -work work +incdir+F:/new_Code/NiosIITemplate {F:/new_Code/NiosIITemplate/NiosIITemplate.v}
vlog -vlog01compat -work work +incdir+F:/new_Code/NiosIITemplate {F:/new_Code/NiosIITemplate/pll.v}
vlog -vlog01compat -work work +incdir+F:/new_Code/NiosIITemplate/src {F:/new_Code/NiosIITemplate/src/businterface.v}
vlog -vlog01compat -work work +incdir+F:/new_Code/NiosIITemplate {F:/new_Code/NiosIITemplate/sinrom_add12_date14.v}
vlog -vlog01compat -work work +incdir+F:/new_Code/NiosIITemplate {F:/new_Code/NiosIITemplate/dds.v}
vlog -vlog01compat -work work +incdir+F:/new_Code/NiosIITemplate {F:/new_Code/NiosIITemplate/sin1khz.v}
vlog -vlog01compat -work work +incdir+F:/new_Code/NiosIITemplate {F:/new_Code/NiosIITemplate/mult.v}
vlog -vlog01compat -work work +incdir+F:/new_Code/NiosIITemplate {F:/new_Code/NiosIITemplate/mult_date_k.v}
vlog -vlog01compat -work work +incdir+F:/new_Code/NiosIITemplate {F:/new_Code/NiosIITemplate/mult_date_sin_1k.v}
vlog -vlog01compat -work work +incdir+F:/new_Code/NiosIITemplate {F:/new_Code/NiosIITemplate/dds_sin_FM.v}
vlog -vlog01compat -work work +incdir+F:/new_Code/NiosIITemplate/db {F:/new_Code/NiosIITemplate/db/pll_altpll.v}
vlog -vlog01compat -work work +incdir+F:/new_Code/NiosIITemplate/db {F:/new_Code/NiosIITemplate/db/altera_mult_add_q1u2.v}
vlog -vlog01compat -work work +incdir+F:/new_Code/NiosIITemplate/db {F:/new_Code/NiosIITemplate/db/altera_mult_add_s1u2.v}
vlib NiosII
vmap NiosII NiosII
vlog -vlog01compat -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis {F:/new_Code/NiosIITemplate/NiosII/synthesis/NiosII.v}
vlog -vlog01compat -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/altera_reset_controller.v}
vlog -vlog01compat -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/altera_reset_synchronizer.v}
vlog -vlog01compat -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/altera_avalon_sc_fifo.v}
vlog -vlog01compat -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/NiosII_LCD12864RS.v}
vlog -vlog01compat -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/NiosII_LCDSPI.v}
vlog -vlog01compat -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/Key4x4.v}
vlog -vlog01compat -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/NiosII_KEY4X4IRQ.v}
vlog -vlog01compat -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/bus.v}
vlog -vlog01compat -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/NiosII_EPCS.v}
vlog -vlog01compat -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/NiosII_sysid_qsys_0.v}
vlog -vlog01compat -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/NiosII_jtag_uart_0.v}
vlog -vlog01compat -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/NiosII_sdram.v}
vlog -vlog01compat -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/NiosII_cpu.v}
vlog -vlog01compat -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/NiosII_cpu_jtag_debug_module_sysclk.v}
vlog -vlog01compat -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/NiosII_cpu_jtag_debug_module_tck.v}
vlog -vlog01compat -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/NiosII_cpu_jtag_debug_module_wrapper.v}
vlog -vlog01compat -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/NiosII_cpu_mult_cell.v}
vlog -vlog01compat -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/NiosII_cpu_oci_test_bench.v}
vlog -vlog01compat -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/NiosII_cpu_test_bench.v}
vlog -sv -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/NiosII_irq_mapper.sv}
vlog -sv -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/altera_merlin_width_adapter.sv}
vlog -sv -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/altera_merlin_burst_uncompressor.sv}
vlog -sv -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/altera_merlin_arbitrator.sv}
vlog -sv -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/NiosII_rsp_xbar_mux_001.sv}
vlog -sv -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/NiosII_rsp_xbar_mux.sv}
vlog -sv -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/NiosII_rsp_xbar_demux_003.sv}
vlog -sv -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/NiosII_rsp_xbar_demux.sv}
vlog -sv -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/NiosII_cmd_xbar_mux.sv}
vlog -sv -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/NiosII_cmd_xbar_demux_001.sv}
vlog -sv -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/NiosII_cmd_xbar_demux.sv}
vlog -sv -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/altera_merlin_burst_adapter.sv}
vlog -sv -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/altera_merlin_traffic_limiter.sv}
vlog -sv -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/NiosII_id_router_007.sv}
vlog -sv -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/NiosII_id_router_003.sv}
vlog -sv -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/NiosII_id_router_002.sv}
vlog -sv -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/NiosII_id_router.sv}
vlog -sv -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/NiosII_addr_router_001.sv}
vlog -sv -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/NiosII_addr_router.sv}
vlog -sv -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/altera_merlin_slave_agent.sv}
vlog -sv -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/altera_merlin_master_agent.sv}
vlog -sv -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/altera_merlin_slave_translator.sv}
vlog -sv -work NiosII +incdir+F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules {F:/new_Code/NiosIITemplate/NiosII/synthesis/submodules/altera_merlin_master_translator.sv}

vlog -vlog01compat -work work +incdir+F:/new_Code/NiosIITemplate/simulation/modelsim {F:/new_Code/NiosIITemplate/simulation/modelsim/NiosIITemplate.vt}

vsim -t 1ps -L altera_ver -L lpm_ver -L sgate_ver -L altera_mf_ver -L altera_lnsim_ver -L cycloneive_ver -L rtl_work -L work -L NiosII -voptargs="+acc"  NiosIITemplate_vlg_tst

add wave *
view structure
view signals
run 1 sec
